package com.tang.sharding.schedule.task.manager;

import com.tang.sharding.schedule.task.AbstractRunnableTask;
import org.springframework.scheduling.config.Task;

/**
 * @author Tang
 * @classname TaskManager
 * @description [  ]
 * @date 2021/8/2 13:47
 */
public interface TaskManager {

    public void addTask(AbstractRunnableTask runnableTask, Task trigger);

    public void cancelTask(String taskId);

}
